#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
@Project : gtmsAutoTestProject 
@File    : order_pay_way_enum.py
@IDE     : PyCharm 
@Author  : Mario
@Date    : 2022/5/17 14:33 
@Describe: 支付方式枚举
"""
from enum import Enum, unique


@unique
class ORDER_PAY_WAY_ENUM(Enum):
    COUPON = ("10", "优惠券")
    INTEGRATION = ("11", "积分抵扣")
    SHOP_DISCOUNTS = ("12", "门店优惠")
    CASHIER_CASH = ("13", "收银台付款")
    WEIXIN_SCAN_PAY = ("14", "微信扫码支付")
    WEIXIN_ONLINE_PAY = ("15", "线上微信支付")
    CUSTOMER_ACCOUNT_BALANCE_PAY = ("16", "会员账户余额支付")
    MONEY_PAY = ("17", "资金支付")
    INTEGRAL_PAY = ("18", "积分支付")
    MONEY_INTEGRAL_PAY = ("19", "资金+积分支付")

    CASH = ("20", "现金支付")
    MOBILE = ("21", "移动支付")
    MOBILE_WXPAY = ("22", "移动支付-微信")
    MOBILE_ALIPAY = ("23", "移动支付-支付宝")
    CMB = ("24", "招行支付")
    XIN_MEI_DA = ("25", "新美大支付")
    KM_TICKET = ("26", "礼品券")
    WALLET = ("27", "钱包支付")
    DEPOSIT_CARD = ("28", "储蓄卡支付")

    MT_ACTUAL_INCOME = ("50", "美团实收")
    MT_DISCOUNT = ("51", "美团优惠")
    MT_SERVICE = ("52", "美团服务费")

    ELE_ACTUAL_INCOME = ("60", "饿了么实收")
    ELE_DISCOUNT = ("61", "饿了么优惠")
    ELE_SERVICE = ("62", "饿了么服务费")

    WEI_TAKEOUT_INCOME = ("70", "微外卖实收")
    WEI_TAKEOUT_DISCOUNT = ("71", "微外卖优惠")
    WEI_TAKEAWAY_INCOME = ("72", "微外带实收")
    WEI_TAKEAWAY_DISCOUNT = ("73", "微外带优惠")

    FREE_PAY = ("98", "免单")
    OTHER = ("99", "其他支付")


if __name__ == '__main__':
    xinmeida = ORDER_PAY_WAY_ENUM.XIN_MEI_DA.value[0]
    print(xinmeida)
    print(type(xinmeida))
